﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>Login Page</title>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.js"></script>

    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
</head>
<body>
    <a href="#myModal" role="button" class="btn" data-toggle="modal">Login</a>
    <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="myModalLabel">Login</h3>
        </div>
        <div class="modal-body">
            <div class="row">
                <div class="span2">Username:</div>
                <div class="span2">
                    <input type="text" value="username" />
                </div>
            </div>
            <div class="row">
                <div class="span2">Password:</div>
                <div class="span2">
                    <input type="password" value="password" />
                </div>
            </div>

        </div>
        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
            <button class="btn btn-primary" onclick="login()">User</button>
        </div>
    </div>
    <script language="javascript" type="text/javascript">
        $(function () {
            $('#myModal').modal('show')
        });
        function login()
        {
            window.location = "User.html";
        }
    </script>
</body>
</html>
